<?php
header('content-type:text/html;charset="utf-8"');
/**
 * Created by PhpStorm.
 * User: wangye
 * Date: 19-3-12
 * Time: 上午10:25
 */
$fileName = './text1.txt';
$handle = fopen($fileName,'r');
var_dump($handle);

$content = fread($handle,filesize($fileName));
echo 'file: '.$content;
$content = fread($handle,15);
var_dump($content);